﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="SilverlightApplication4.Util.ItemWindow"
           Width="521" Height="211" 
           Title="ItemWindow">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" TabIndex="21" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" TabIndex="20" />
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Height="24" VerticalAlignment="Top" Width="499">
            <sdk:Label Width="60" Content="Sản phẩm" Margin="15,0,0,0"/>
            <TextBox x:Name="MaHangHoa" Tag="|HangHoa|CHI_TIET_PHIEU_NHAP|ID|ID|ID,TenHangVN|HANG_HOA|F12:TRUY XUẤT|TenHangHoa" TextWrapping="Wrap" Width="120" TabIndex="15"/>
            <TextBox x:Name="TenHangHoa" TextWrapping="Wrap" Width="257" Margin="2,0,0,0" IsTabStop="False"/>
        </StackPanel>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Height="39" Margin="0,29,0,0" VerticalAlignment="Top" Width="499">
            <sdk:Label Width="60" Content="Quy cách" Margin="15,0,0,0"/>
            <TextBox Tag="|QuyCach|CHI_TIET_PHIEU_NHAP|||||" TextWrapping="Wrap" Width="379" TabIndex="16"/>
        </StackPanel>
        <StackPanel HorizontalAlignment="Left" Height="58" Margin="120,68,0,0" VerticalAlignment="Top" Width="100"/>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Height="24" Margin="0,73,0,0" VerticalAlignment="Top" Width="499">
            <sdk:Label Width="61" Content="Số lượng" Margin="15,0,0,0"/>
            <TextBox Tag="|SoLuong|CHI_TIET_PHIEU_NHAP|||||" TextWrapping="Wrap" Width="120" TabIndex="17"/>
            <sdk:Label Width="67" Content="Đơn giá" Margin="35,0,0,0"/>
            <TextBox Tag="|DonGia|CHI_TIET_PHIEU_NHAP|||||" TextWrapping="Wrap" Width="156" TabIndex="18"/>
        </StackPanel>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Height="24" Margin="0,102,0,0" VerticalAlignment="Top" Width="499">
            <sdk:Label Width="68" Content="Thành tiền" Margin="230,0,0,0"/>
            <TextBox Tag="|ThanhTien|CHI_TIET_PHIEU_NHAP|||||" TextWrapping="Wrap" Width="156" TabIndex="19"/>
        </StackPanel>
    </Grid>
</controls:ChildWindow>